package com.ld.admin.model.usercenter;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.ld.shieldsb.annotation.model.ModelAnno.Model;
import com.ld.shieldsb.annotation.model.ModelAnno.TableName;

import lombok.Data;

/**
 * 
 * 用户日历(sys_user_calender)
 * 
 * @ClassName SysUserCalendarModel
 * @author <a href="mailto:donggongai@126.com" target="_blank">吕凯</a>
 * @date 2019年02月21日 14:32:08
 *
 */
@Model(name = "用户日历")
@TableName("sys_user_calendar")
@Data
public class SysUserCalendarModel implements Serializable {
    private static final long serialVersionUID = 2692799007051806265L;

    /*主键*/
    private Long id;
    /*日历id*/
    private Long cid;
    /*标题*/
    private String title;
    /*内容*/
    private String content;
    /*开始时间*/
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;
    /*结束时间*/
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
    /*背景色*/
    private String bgcolor;
    /*url*/
    private String url;
    /*创建人*/
    private Long createBy;
    /*创建时间*/
    private Date createTime;
    /*修改人*/
    private Long updateBy;
    /*修改时间*/
    private Date updateTime;
    /*状态0正常-1删除*/
    private Integer state;
    /*重复状态0一次性1重复*/
    private Integer repeatType;
    /* 重复频率*/
    private Integer frequency;
    /*重复单位1天2周3月4年*/
    private Integer repeatUnit;
    /* 重复次数*/
    private Integer repataTimes;
}
